<?php
if (isset($_GET['err']) && $_GET['err'] == 1) {
	echo "Can't connect to DB";
} else {
	echo "Don't have error";
}
?>